using System;
using L=Science.Physics.GeneralPhysics;

namespace Serway.Chapter44
{
	/// <summary>
	/// Example11: Bombarding Fluorine
	/// Verify that the Q value for the reaction in 
	/// Equation 44.29 is 8.11 MeV.
	/// </summary>
	public class Example11
	{
		public Example11()
		{
		}
		private string result;
		public string Result
		{
			get{return result;}
		}
		public void Compute()
		{
			L.Nucleus a = new L.Nucleus();
			a.MassINu = 1.007825;
			L.Nucleus X = new L.Nucleus();
			X.MassINu = 18.998403;
			L.Nucleus Y = new L.Nucleus();
			Y.MassINu = 15.994915;
			L.Nucleus b = new L.Nucleus();
			b.MassINu = 4.002603;
			L.Energy Q = L.Energy.NuclearReaction(a,X,Y,b);
			result = Convert.ToString(Q.MeV);
		}
	}
}
